import {reactive} from "vue";



const kchart1 = reactive({
    id:'kchart1',
    categories:['2021Q1', '2021Q2', '2021Q3', '2021Q4', '2022Q1',],
    series:[
        {
            name: '资产负债率',
            type: 'spline',
            data: [12, 34, 44, 55, 23,]
        },
        {
            name: '行业均值',
            type: 'spline',
            data: [23,25,33,56,35]
        }
    ]
})
const bst1 = reactive({
    id: 'barchart1',
    categories: ['2016', '2017', '2018', '2019', '2020',],
    series: [
        {
            name: '净利润',
            data: [2.9, 3.5, 1.4, 3.2, 3,]
        },
        {
            name: '扣非后净利润',
            data: [1.6, 2.8, 1.5, 3.4, 3.6]
        },
        {
            name: '营业收入',
            data: [2.4, 3.2, 3.5, 1.7, 2.6,]
        }
    ]
})

const bst2 = reactive({
    id: 'barchart2',
    categories: ['2016', '2017', '2018', '2019', '2020',],
    series: [
        {
            name: '净资产',
            data: [18.24, 17.64, 18.95, 16.03, 16.95]
        },
    ]
})

const lct1 = reactive({
    id:'linechart1',
    categories:['2021Q1', '2021Q2', '2021Q3', '2021Q4', '2022Q1',],
    series:[
        {
            name: '资产负债率',
            type: 'spline',
            data: [12, 34, 44, 55, 23,]
        },
        {
            name: '行业均值',
            type: 'spline',
            data: [23,25,33,56,35]
        }
    ]
})
export {
    kchart1,
    bst1,
    bst2,
    lct1
}
